package stud.mpgame.net.description;

import stud.mpgame.network.MessageDescription;

import stud.mpgame.net.command.TestCommand;

public class TestCommandDescription extends MessageDescription {
	
    private static final int ID = IDescriptionManager.TEST_COMMAND_DESCRIPTION;;

    private static final int TEST_COMMAND_USER_OBJECT_ID = 1; //TestCommand

    private static TestCommandDescription instance = null;

    public int getID() {
        return ID;
    }

    private TestCommandDescription() {
        this.registerUserObject(TEST_COMMAND_USER_OBJECT_ID, TestCommand.class);
    }

    public static TestCommandDescription getInstance() {
        if(instance == null){
            instance = new TestCommandDescription();
        }
        return instance;
    }

}
